<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>提交订单</title>
		<link rel="icon" href="${project_name}/image/logo.png" >
		<link rel="stylesheet" type="text/css" href="${project_name}/css/head.css" />
		<link rel="stylesheet" type="text/css" href="${project_name}/css/footer.css" />
		<link rel="stylesheet" type="text/css" href="${project_name}/css/go.css" />
	<script type="text/javascript" src="${project_name}/js/jquery-1.8.3.js"></script></head>
	<body>
		<div class="header">
			<jsp:include page="public_top.jsp"></jsp:include>
			<!--图片-->
			<div class="full_sc order_bottom">
				<div class="w1200 header_conter ">
					<div class="h_c_logo">
						<a href="${project_name}/index.jsp">
							<img src="${project_name}/image/logo1.png" />
						</a>
					</div>
					<div class="h_c_right">
						<div class="order_Status os_oredr"></div>
					</div>
				</div>
			</div>
			<!--end-->
		</div>
		<div class="public_b">
			<form action="${project_name}/order/insert" method="post">
				<div class="w1200">
					<div class="h2">确认订单信息</div>
						<!--商品-->
						<div class="o_o_part o_o_part3">
							<h2 class="part_h2">1&nbsp;商品清单<a class="a_return_car" href="${project_name}/submit.jsp"> &lt; 返回购物车</a></h2>
							<div class="oder_shop">
								<!--shoptitle-->
								<div class="shop_tit">
									<div class="cart_checkbox">
										<span>商品名称</span>
									</div>
									<div class="column cart_standard">规格</div>
									<div class="column t_quantity">数量</div>
									<div class="column t_price">单价(元)</div>
									<div class="column t_sum">小计(元)</div>
								</div>
								<!--shoplist-->

								<c:forEach items="${sessionScope.tuple2List}" var="t">
									<div class="item_list">
										<div class="item_form">
											<div class="cell p_checkbox"></div>
											<div class="cell p_goods">
												<div class="goods_item">
													<div class="p_imgs">
														<a target="_blank" href="">
															<img src="${project_name}/image/submit_shop.jpg" alt="${t._1().name}"></a>
													</div>
													<div class="item_msg">
														<div class="p_border_bottom">
															<div class="p_name">
																<a target="_blank" href="${project_name}/product/search?id=${t._1().id}">${t._1().name}</a>
															</div>
														</div>
													</div>
												</div>
											</div>
											<div class="cell p_standard">
												<p class="p_g_standard p_border_bottom"></p>
											</div>
											<div class="cell p_price p_border_bottom">
												<p class="p_prices2">${t._1().price}</p>
											</div>
											<div class="cell p_quantity">
												<div class="quantity_form p_border_bottom">x${t._2().amount}</div>
											</div>
											<div class="cell p_sum p_border_bottom">
												<strong>${t._1().price * t._2().amount}</strong>
											</div>
										</div>
									</div>
								</c:forEach>

								<!--结算-->
								<div class="yhxx_box">
									<ul class="yhxx_list">
										<li>
											<div class="yhxx_tit">商品总额<span class="yhxx_money">￥<span>${sessionScope.totalPrice}</span> </span>
											</div>
										</li>
									</ul>
								</div>
								<!--地址选择-->
								<h2 class="part_h2">
									2 地址选择
									<span class="addr_errtips">
										<select name="addressInfoId">
											<c:forEach var="a" items="${sessionScope.addressInfoList}">
												<option value="${a.id}">${a.details}</option>
											</c:forEach>
										</select>
									</span>
								</h2>
								<!--发票-->
								<div class="btnsure_bg">
									<div class="sureorder">
										<div class="jine">应付总额：<span class="fwxh_30">￥</span><span class="span_m s_order_money">${sessionScope.totalPrice}</span></div>
										<a class="un_btn_sure" onclick="$('form').submit()" id="btn_sure" href="javascript:void(0);">提交订单</a>
									</div>
								</div>
							</div>
						</div>
						<!--商品-->
					</div>
					<!--地址选择end-->
				</div>
			</form>
		</div>
	    <!--底部公用-->
	    <div class="footer no-margin-top">
	    	<div class="footer_b w1200"><img src="${project_name}/image/foot_img1.jpg"/></div>
	    	<div class="footer_help w1200">
	    		<div class="footer1_l">
	    			<dl class="helpDl">
	    				<dt><h5>使用帮助</h5></dt>
	    				<dd><a href="">税费收取规则 </a></dd>
	    				<dd><a href="">新手指南 </a></dd>
	    			    <dd><a href="">常见问题 </a></dd>
	    				<dd><a href="">用户协议 </a></dd>
	    			</dl>
	    			<dl class="helpDl">
	    				<dt><h5>会员服务</h5></dt>
	    				<dd><a href="">积分政策  </a></dd>
	    				<dd><a href="">会员权益  </a></dd>
	    			    <dd><a href="">会员等级  </a></dd>
	    			</dl>
	    			<dl class="helpDl">
	    				<dt><h5>支付方式</h5></dt>
	    				<dd><a href="">积分支付  </a></dd>
	    				<dd><a href="">货到付款  </a></dd>
	    			    <dd><a href="">在线支付  </a></dd>
	    				<dd><a href="">优惠券支付  </a></dd>
	    			</dl>
	    			<dl class="helpDl">
	    				<dt><h5>配送方式</h5></dt>
	    				<dd><a href="">包邮政策   </a></dd>
	    				<dd><a href="">费用说明   </a></dd>
	    			    <dd><a href="">配送说明   </a></dd>
	    			</dl>
	    			<dl class="helpDl">
	    				<dt><h5>售后服务</h5></dt>
	    				<dd><a href="">电子发票   </a></dd>
	    				<dd><a href="">售后咨询   </a></dd>
	    			    <dd><a href="">退货办理   </a></dd>
	    				<dd><a href="">退货政策   </a></dd>
	    			</dl>
	    		</div>
	    		<div class="footer1_r">
	    			<ul>
	    				<li>
	    					<h2>手机开心买</h2>
	    					<img src="${project_name}/image/footer_ewm_01.png"/>
	    					<p>下载移动客户端</p>
	    				</li>
	    				<li>
	    					<h2>开心买微信</h2>
	    					<img src="${project_name}/image/footer_ewm_02.png"/>
                            <p>开心买官方微信</p>
	    				</li>
	    			</ul>
	    		</div>
	    	</div>
	        <div class="footer_nav">
	        	<div class="w720">
	        		<ul>
	        			<li>
	        				<a href="">关于开心买 </a>
	        				<span class="line"></span>
	        			</li>
	        			<li>
	        				<a href="">投资者关系 </a>
	        				<span class="line"></span>
	        			</li>
	        			<li>
	        				<a href="">商家入驻  </a>
	        				<span class="line"></span>
	        			</li>
	        			<li>
	        				<a href="">联系我们 </a>
	        				<span class="line"></span>
	        			</li>
	        		</ul>
	        	</div>
	        </div>
	        <div class="footer_bottom">
	        	<div class="w1200">
	        		<p>
	        			<span class="font_arial">Copyright© 2006-2016 happigo. All Rights Reserved </span>
                                           免费服务热线: 400-705-1111 | 固话也可拨打: 800-705-1111
                        <span class="font_arial">E-Mail: service@happigo.com</span><br>
                                           湘ICP备12000157号 信息网络传播视听节目许可证号：1810530
	        		</p>
	        		<p class="footer_b">
	        			<a href="http://www.itrust.org.cn/home/index/itrust_certifi/wm/2782875193.jsp">
	        				<img src="${project_name}/image/foot_img3.png"/>
	        			</a>
	        			<a href="https://search.szfw.org/cert/l/CX20150428007576007720">
	        				<img src="${project_name}/image/foot_img4.png"/>
	        			</a>
	        		</p>
	        	</div>
	        </div>
	    </div>
	    <!--底部end-->
	</body>
</html>
